package com.example.cpop.mapper;

import com.example.cpop.model.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: fzykd
 * Date: 2022-10-15
 * Time: 14:08
 */


@Mapper
public interface UserMapper {
    //登录
    User login(User loginUser);

    //查找用户名
    //根据用户名去查询这个人 有这个人 那么匹配密码是否成功
    User selectByName(String username);
}
